﻿@using InnovaApp.Layers.ResourcesLayer.Properties
@model InnovaApp.Layers.SecurityLayer.Models.MetaModels.InnoAppUser_MetaModel
@Html.HiddenFor(m => m.Id)
<ol class="olMainForm box">
    <li class="notDisplayed">
        @Html.LabelFor(m => m.Id)
        @Html.TextBoxFor(m => m.Id)
        @Html.ValidationMessageFor(m => m.Id)
    </li>
    <li class="notDisplayed">
        @Html.LabelFor(m => m.FK_Application)
        @Html.TextBoxFor(m => m.FK_Application)
        @Html.ValidationMessageFor(m => m.FK_Application)
    </li>
    <li class="olMainFormField">
        @Html.LabelFor(m => m.Username)
        @Html.TextBoxFor(m => m.Username, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.Username)
    </li>
    <li class="olMainFormField">
        @Html.LabelFor(m => m.Email)
        @Html.TextBoxFor(m => m.Email, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.Email)
    </li>
@*    <li class="olMainFormField">
        @Html.LabelFor(m => m.PasswordQuestion)
        @Html.TextBoxFor(m => m.PasswordQuestion, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.PasswordQuestion)
    </li>
    <li class="olMainFormField">
        @Html.LabelFor(m => m.PasswordAnswer)
        @Html.TextBoxFor(m => m.PasswordAnswer, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.PasswordAnswer)
    </li>*@
</ol>
<ol class="olFlagsForm box">
    <li>@Html.LabelFor(m => m.IsApproved) @Html.EditorFor(m => m.IsApproved) @Html.ValidationMessageFor(m => m.IsApproved)</li>
    <li>@Html.LabelFor(m => m.IsLockedOut) @Html.EditorFor(m => m.IsLockedOut) @Html.ValidationMessageFor(m => m.IsLockedOut)</li>
    <li>@Html.LabelFor(m => m.IsOnline) @Html.EditorFor(m => m.IsOnline, "CheckBox") @Html.ValidationMessageFor(m => m.IsOnline)</li>
</ol>
<ol class="olDatesForm box">
    <li>
        <div>@Html.LabelFor(m => m.CreationDate) @Html.TextBoxFor(m => m.CreationDate, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.CreationDate)</div>
        <div>@Html.LabelFor(m => m.LastModified) @Html.TextBoxFor(m => m.LastModified, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.LastModified)</div>
        <div>@Html.LabelFor(m => m.LastLoginDate) @Html.TextBoxFor(m => m.LastLoginDate, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.LastLoginDate)</div>
        <div>@Html.LabelFor(m => m.LastActivityDate) @Html.TextBoxFor(m => m.LastActivityDate, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.LastActivityDate)</div>
        <div>@Html.LabelFor(m => m.LastLockedOutDate) @Html.TextBoxFor(m => m.LastLockedOutDate, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.LastLockedOutDate)</div>
        <div>@Html.LabelFor(m => m.LastPasswordChangedDate) @Html.TextBoxFor(m => m.LastPasswordChangedDate, "{0:dd/MM/yyyy hh:mm:ss}", new { @disabled = "disabled", @class = "k-input DateTime readonly", @readonly = "readonly" }) @Html.ValidationMessageFor(m => m.LastPasswordChangedDate)</div>
    </li>
</ol>
<ol class="olRoles box">
    @Html.EditorFor(m => m.Roles)
</ol>
